package DataStructureTest;

import java.util.Date;
import java.util.TimeZone;



public class Test {

    public static class Animal {}

    public static class Mammal extends Animal {}

    public static class Reptile extends Animal {}

    public static class Dog extends Mammal {}

    public static void main(String args[]) {
//        Animal a = new Animal();
        Mammal mammal = new Mammal();
        Dog dog = new Dog();
        System.out.println(mammal instanceof Animal);
        System.out.println(dog instanceof Mammal);
        System.out.println(dog instanceof Animal);
        System.out.println(TimeZone.getDefault());
        
    }

}